package com.lb.undertow.setting.many;


import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 接收者
 * @author 001030
 */
@Component
@RabbitListener(queues = "neo")
public class HelloReceiver2 {

    @RabbitHandler
    public void process(String message){
        System.out.println("Receiver.........."+message);
    }

}
